﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="report.aspx.vb" Inherits="Project4CL.report" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <link rel="stylesheet" type="text/css" href="../Login/mallStyles.css" />
    <title>Management Report....for your health</title>
</head>
<body>
    <form id="form1" runat="server">
    <div id="header">
     &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     <img src="http://cis-iis2.temple.edu/Fall2011/434202/TermProjectCL/mallLogo.gif" />
    </div>

    <div id="inLeftCol">
    </div>

    <div id="centerContent">
        <div id="contentArea">
        Stack dat papuh and grab dat looty, management report all up in dat booty!<br /><br />
        Select a report:
        <br />
        <asp:Button ID="btnTopCust" runat="server" Text="Top Customers" /> &nbsp; &nbsp; &nbsp<br /><br />
        <asp:Button ID="btnInvList" runat="server" Text="Show Inventory" /> &nbsp; where quantity is greater than: &nbsp;
        <asp:TextBox ID="txtInvQty" runat="server" Text="0" Width="30px"></asp:TextBox><br />
        <asp:Label ID="lblInfo" runat="server" Visible="false"></asp:Label>
        <br /><br />
        <asp:GridView ID="gvCustRep" runat="server" Visible="false" AutoGenerateColumns="false">
            <Columns>
                <asp:BoundField DataField="Email Address" HeaderText="Email Address" ItemStyle-Width="250px" />
                <asp:BoundField DataField="Customer Name" HeaderText="Customer Name" ItemStyle-Width="200px" />
                <asp:BoundField DataField="Total Sales" HeaderText="Total Sales" DataFormatString="{0:c}" ItemStyle-Width="200px" ItemStyle-HorizontalAlign="Center" />
            </Columns>
        </asp:GridView>
         
        <asp:GridView ID="gvInvRep" runat="server" ForeColor='Black' BackColor="White" Visible="false" AutoGenerateColumns="false">
            <Columns>
                <asp:BoundField DataField="Department Name" HeaderText="Department" ItemStyle-Width="250px" />
                <asp:BoundField DataField="Product Desc." HeaderText="Description" ItemStyle-Width="200px" />
                <asp:BoundField DataField="Price" HeaderText="Price" DataFormatString="{0:c}" ItemStyle-Width="100px" ItemStyle-HorizontalAlign="Center" />
                <asp:BoundField DataField="QOH" HeaderText="Qty on Hand"  />
            </Columns>
        </asp:GridView>
        </div>
    </div>

    </form>
</body>
</html>
